# -*- encoding: utf-8 -*-
from models import Schedule, Concert
from django.contrib import admin

from multilingual.admin import MultilingualModelAdmin

class ConcertAdmin(MultilingualModelAdmin):
    list_display = ('day', 'scene', 'group', 'starting_time', 'playing_time')
    list_display_links = ('day', 'starting_time')
    list_filter = ['day', 'scene']
    ordering = ['day','scene', 'starting_time']
    limit_choices_to = ['day', 'scene', 'group']


admin.site.register(Concert, ConcertAdmin)
admin.site.register(Schedule)
